#include <iostream>
#include <string>
using namespace std;

struct number{
	char op;
	int n[10010];
	int index;
};
void inputnumber(struct number &num,const string &s){
	for( int i=0; i<10010; ++i ) num.n[i] = -1;
	num.op = s[0];
	num.n[0] = s[1]-48;
	for( int j=1,i=3; i<s.find("E"); ++i,++j ){
		num.n[j] = s[i] - 48;
	}
	int sum = 0;
	for( int i=s.find("E")+2; i<s.length(); ++i ){
			sum = sum*10+s[i]-48;
	}
	if( s[s.find('E')+1]=='-' ) sum = -sum;
	num.index = sum;
}
void outputnumber(const struct number &num){
	if( num.op=='-' ) cout<<num.op;
	if( num.index>0 ){
		int i;
		for( i=0; i<num.index+1; ++i){
			if( num.n[i]!=-1 ) cout<<num.n[i];
			else cout<<0;
		}
		if( num.n[i]!=-1 ) cout<<".";
		for( ; num.n[i]!=-1; ++i ) cout<<num.n[i];
	}else if( num.index<0 ){
		cout<<0<<".";
		for( int i=0; i<-num.index-1; ++i ) cout<<0;
		for( int i=0; num.n[i]!=-1 ; ++i ) cout<<num.n[i];
	}else{
		cout<<num.n[0]<<".";
		for( int i=1; num.n[i]!=-1; ++i ) cout<<num.n[i];
	}
}
int main(){
//	freopen("in.txt","r",stdin);
	number num;
	string s;
	cin>>s;
	inputnumber(num,s);
	outputnumber(num);
	return 0;
}
